package com.cloud.mapper;

import com.baomidou.dynamic.datasource.annotation.DS;
import com.cloud.ck.entity.SysLog;
import org.apache.ibatis.annotations.Mapper;
import org.apache.ibatis.annotations.Param;

import java.util.List;

/**
 * @create 2022/8/26 14:47
 */
@Mapper
@DS("clickhouse")
public interface ClickLogMapper {
    void createLog(@Param("tableName") String tablename);

    void insertLog(@Param("sysLog")SysLog sysLog);

    List<SysLog> query();

    void batchInsert(@Param("sysLogs")List<SysLog> listRecord);
}